function combineFilterFunc(obj) {
  var combineFilterObj = obj;
  return function (arr, Store) {
    console.log(arr, Store);
    var lastArr = arr;
    for (var prop in combineFilterObj) {
      lastArr = combineFilterObj[prop](Store.getState()[prop], lastArr);
    }
    console.log(lastArr);
    return lastArr;
  };
}

const lastFilter = combineFilterFunc({
  name: filterName,
  sex: filterSex,
});
